www.gusucode.com > 基于matlab编程蒙特卡罗仿真设计源码程序 > 基于matlab编程蒙特卡罗仿真设计源码程序/第二讲 MATLAB入门/shuzu2.m

    x=1:9
y=x(2:2:8)
z=[x(1) x(6) x(8)]